package com.bodu.enums;

/**
 * @author:Administrator
 * @create:2022-04-21 11:36
 */
public enum GenFileSuffixEnum {
    CONTROLLER(1, "Controller.java"),
    SERVICE(2, "Service.java"),
    SERVICE_IMPL(3, "ServiceImpl.java"),
    DAO(4, "Dao.java"),
    DAO_XML(5, "Dao.xml");

    private Integer key;

    private String suffix;

    GenFileSuffixEnum(Integer key, String description) {
        this.key = key;
        this.suffix = description;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getSuffix() {
        return suffix ;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix ;
    }
}
